package home.contaduria.service;

import home.contaduria.domain.Client;
import home.contaduria.domain.Income;

import java.util.List;

public interface IncomeService {

    void createIncome(Income income);

    Income readIncome(Long id);

    void updateIncome(Income income);

    void deleteIncome(Long id);

    List<Income> listIncomes(Client client);

    List<Income> listIncomes(Client client, int firstResult, int maxResults);

    Long countIncomesNumber(Client client);

}
